﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_CALLLOSS.cs
// 项目名称：Lovol 
// 创建时间：2011/12/6
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_CALLLOSS数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_CALLLOSS", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_CALLLOSS", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_CALLLOSS_Entity
    {
        #region 变量定义
        ///<summary>
        ///记录编号
        ///</summary>
        private string _iD;
        ///<summary>
        ///记录时间
        ///</summary>
        private DateTime? _rECORDTIME;
        ///<summary>
        ///被叫号码
        ///</summary>
        private string _dNIS = String.Empty;
        ///<summary>
        ///主叫号码
        ///</summary>
        private string _aNI = String.Empty;
        ///<summary>
        ///按键
        ///</summary>
        private long? _pRESSKEY = 0;
        ///<summary>
        ///被分配人编号
        ///</summary>
        private long? _aSSIGNEDPERSONID = 0;
        ///<summary>
        ///被分配人名
        ///</summary>
        private string _aSSIGNEDPERSONNAME = String.Empty;
        ///<summary>
        ///分配人编号
        ///</summary>
        private long? _dISTRIBUTIONPEOPLEID = 0;
        ///<summary>
        ///分配人名
        ///</summary>
        private string _dISTRIBUTIONPEOPLENAME = String.Empty;
        ///<summary>
        ///分配时间
        ///</summary>
        private DateTime? _aLLOCATEDTIME;
        ///<summary>
        ///时限
        ///</summary>
        private long? _lIMITED = 0;
        ///<summary>
        ///工单编号
        ///</summary>
        private long? _cASEID = 0;
        ///<summary>
        ///来电类型
        ///</summary>
        private string _cALLTYPE = String.Empty;
        ///<summary>
        ///状态
        ///</summary>
        private long _sTATUS = 0;
        ///<summary>
        ///备注
        ///</summary>
        private string _rEMARK = String.Empty;
        ///<summary>
        ///是否过虑
        ///</summary>
        private long _iSFILTEROUT = 0;
        ///<summary>
        ///事业部编号
        ///</summary>
        private long? _bUSINESSDIVISIONID = 0;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        ///<summary>
        ///来源
        ///</summary>
        private string _sOURCE = String.Empty;
        ///<summary>
        ///首次回访时间
        ///</summary>
        private DateTime? _fIRSTCALLBACKTIME;
        ///<summary>
        ///回访完成时间
        ///</summary>
        private DateTime? _cALLBACKCOMPLETETIME;
        ///<summary>
        ///区号
        ///</summary>
        private string _aREANO = String.Empty;
        ///<summary>
        ///号段
        ///</summary>
        private string _sECTIONNO = String.Empty;
        ///<summary>
        ///省
        ///</summary>
        private string _pROVINCE = String.Empty;
        ///<summary>
        ///市
        ///</summary>
        private string _cITY = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_CALLLOSS_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///记录编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true)]
        [SqlColumn(IncrementPrimaryKey = false, PrimaryKey = true)]
        public string ID
        {
            get { return _iD; }
            set
            {
                _iD = value;
            }

        }

        ///<summary>
        ///记录时间
        ///</summary>		
        public DateTime? RECORDTIME
        {
            get { return _rECORDTIME; }
            set { _rECORDTIME = value; }

        }

        ///<summary>
        ///被叫号码
        ///</summary>		
        public string DNIS
        {
            get { return _dNIS; }
            set
            {
                _dNIS = value;
            }

        }

        ///<summary>
        ///主叫号码
        ///</summary>		
        public string ANI
        {
            get { return _aNI; }
            set
            {
                _aNI = value;
            }

        }

        ///<summary>
        ///按键
        ///</summary>		
        public long? PRESSKEY
        {
            get { return _pRESSKEY; }
            set { _pRESSKEY = value; }

        }

        ///<summary>
        ///被分配人编号
        ///</summary>		
        public long? ASSIGNEDPERSONID
        {
            get { return _aSSIGNEDPERSONID; }
            set { _aSSIGNEDPERSONID = value; }

        }

        ///<summary>
        ///被分配人名
        ///</summary>		
        public string ASSIGNEDPERSONNAME
        {
            get { return _aSSIGNEDPERSONNAME; }
            set
            {
                _aSSIGNEDPERSONNAME = value;
            }

        }

        ///<summary>
        ///分配人编号
        ///</summary>		
        public long? DISTRIBUTIONPEOPLEID
        {
            get { return _dISTRIBUTIONPEOPLEID; }
            set { _dISTRIBUTIONPEOPLEID = value; }

        }

        ///<summary>
        ///分配人名
        ///</summary>		
        public string DISTRIBUTIONPEOPLENAME
        {
            get { return _dISTRIBUTIONPEOPLENAME; }
            set
            {
                _dISTRIBUTIONPEOPLENAME = value;
            }

        }

        ///<summary>
        ///分配时间
        ///</summary>		
        public DateTime? ALLOCATEDTIME
        {
            get { return _aLLOCATEDTIME; }
            set { _aLLOCATEDTIME = value; }

        }

        ///<summary>
        ///时限
        ///</summary>		
        public long? LIMITED
        {
            get { return _lIMITED; }
            set { _lIMITED = value; }

        }

        ///<summary>
        ///工单编号
        ///</summary>		
        public long? CASEID
        {
            get { return _cASEID; }
            set { _cASEID = value; }

        }

        ///<summary>
        ///来电类型
        ///</summary>		
        public string CALLTYPE
        {
            get { return _cALLTYPE; }
            set
            {
                _cALLTYPE = value;
            }

        }

        ///<summary>
        ///状态
        ///</summary>		
        public long STATUS
        {
            get { return _sTATUS; }
            set { _sTATUS = value; }

        }

        ///<summary>
        ///备注
        ///</summary>		
        public string REMARK
        {
            get { return _rEMARK; }
            set
            {
                _rEMARK = value;
            }

        }

        ///<summary>
        ///是否过虑
        ///</summary>		
        public long ISFILTEROUT
        {
            get { return _iSFILTEROUT; }
            set { _iSFILTEROUT = value; }

        }

        ///<summary>
        ///事业部编号
        ///</summary>		
        public long? BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }

        ///<summary>
        ///来源
        ///</summary>		
        public string SOURCE
        {
            get { return _sOURCE; }
            set
            {
                _sOURCE = value;
            }

        }

        ///<summary>
        ///首次回访时间
        ///</summary>		
        public DateTime? FIRSTCALLBACKTIME
        {
            get { return _fIRSTCALLBACKTIME; }
            set { _fIRSTCALLBACKTIME = value; }

        }

        ///<summary>
        ///回访完成时间
        ///</summary>		
        public DateTime? CALLBACKCOMPLETETIME
        {
            get { return _cALLBACKCOMPLETETIME; }
            set { _cALLBACKCOMPLETETIME = value; }

        }



        ///<summary>
        ///区号
        ///</summary>		
        public string AREANO
        {
            get { return _aREANO; }
            set
            {
                _aREANO = value;
            }

        }

        ///<summary>
        ///号段
        ///</summary>		
        public string SECTIONNO
        {
            get { return _sECTIONNO; }
            set
            {
                _sECTIONNO = value;
            }

        }

        ///<summary>
        ///省
        ///</summary>		
        public string PROVINCE
        {
            get { return _pROVINCE; }
            set
            {
                _pROVINCE = value;
            }

        }

        ///<summary>
        ///市
        ///</summary>		
        public string CITY
        {
            get { return _cITY; }
            set
            {
                _cITY = value;
            }

        }
        #endregion

    }
}
